chopper setpos getpos chopper_start

boat1 setpos getpos boat1start
boat2 setpos getpos boat2start
boat3 setpos getpos boat3start
boat4 setpos getpos boat4start
boat5 setpos getpos boat5start
boat6 setpos getpos boat6start
boat7 setpos getpos boat7start
boat8 setpos getpos boat8start

{_x setBehaviour "COMBAT"; _x setCombatMode "RED"; _x setSpeedMode "FULL"; _x allowfleeing 0; _x setskill 1} foreach units r1; 
{_x setBehaviour "COMBAT"; _x setCombatMode "RED"; _x setSpeedMode "FULL"; _x allowfleeing 0; _x setskill 1} foreach units r3; 
{_x setBehaviour "COMBAT"; _x setCombatMode "RED"; _x setSpeedMode "FULL"; _x allowfleeing 0; _x setskill 1} foreach units r5; 
{_x setBehaviour "COMBAT"; _x setCombatMode "RED"; _x setSpeedMode "FULL"; _x allowfleeing 0; _x setskill 1} foreach units r7;
{_x setBehaviour "COMBAT"; _x setCombatMode "RED"; _x setSpeedMode "FULL"; _x allowfleeing 0; _x setskill 1} foreach units r9; 
{_x setBehaviour "COMBAT"; _x setCombatMode "RED"; _x setSpeedMode "FULL"; _x allowfleeing 0; _x setskill 1} foreach units r11; 
{_x setBehaviour "COMBAT"; _x setCombatMode "RED"; _x setSpeedMode "FULL"; _x allowfleeing 0; _x setskill 1} foreach units r13; 
{_x setBehaviour "COMBAT"; _x setCombatMode "RED"; _x setSpeedMode "FULL"; _x allowfleeing 0; _x setskill 1} foreach units r15;

r1 moveInDriver boat1; 
r2 moveInGunner boat1; 
r3 moveInDriver boat2; 
r4 moveInGunner boat2; 
r5 moveInDriver boat3; 
r6 moveInGunner boat3; 
r7 moveInDriver boat4; 
r8 moveInGunner boat4; 
r9 moveInDriver boat5; 
r10 moveInGunner boat5; 
r11 moveInDriver boat6; 
r12 moveInGunner boat6; 
r13 moveInDriver boat7; 
r14 moveInGunner boat7; 
r15 moveInDriver boat8; 
r16 moveInGunner boat8; 

{_x setBehaviour "COMBAT"; _x setCombatMode "RED"; _x setFormation "VEE"; _x setSpeedMode "FULL"; _x allowfleeing 0; _x setskill 1} foreach units grp_a; 
{_x setBehaviour "COMBAT"; _x setCombatMode "RED"; _x setFormation "VEE"; _x setSpeedMode "FULL"; _x allowfleeing 0; _x setskill 1} foreach units grp_b; 
{_x setBehaviour "COMBAT"; _x setCombatMode "RED"; _x setFormation "VEE"; _x setSpeedMode "FULL"; _x allowfleeing 0; _x setskill 1} foreach units grp_c; 
{_x setBehaviour "COMBAT"; _x setCombatMode "RED"; _x setFormation "VEE"; _x setSpeedMode "FULL"; _x allowfleeing 0; _x setskill 1} foreach units grp_d; 
{_x setBehaviour "COMBAT"; _x setCombatMode "RED"; _x setFormation "VEE"; _x setSpeedMode "FULL"; _x allowfleeing 0; _x setskill 1} foreach units grp_e; 
{_x setBehaviour "COMBAT"; _x setCombatMode "RED"; _x setFormation "VEE"; _x setSpeedMode "FULL"; _x allowfleeing 0; _x setskill 1} foreach units grp_f; 
{_x setBehaviour "COMBAT"; _x setCombatMode "RED"; _x setFormation "VEE"; _x setSpeedMode "FULL"; _x allowfleeing 0; _x setskill 1} foreach units grp_g; 
{_x setBehaviour "COMBAT"; _x setCombatMode "RED"; _x setFormation "VEE"; _x setSpeedMode "FULL"; _x allowfleeing 0; _x setskill 1} foreach units grp_h; 

;{_x moveInCargo boat1} foreach units grp_a; 
;{_x moveInCargo boat2} foreach units grp_b; 
;{_x moveInCargo boat3} foreach units grp_c; 
;{_x moveInCargo boat4} foreach units grp_d; 
;{_x moveInCargo boat5} foreach units grp_e; 
;{_x moveInCargo boat6} foreach units grp_f; 
;{_x moveInCargo boat7} foreach units grp_g; 
;{_x moveInCargo boat8} foreach units grp_h; 

boat1 setfuel 1; 
boat2 setfuel 1; 
boat3 setfuel 1; 
boat4 setfuel 1; 
boat5 setfuel 1; 
boat6 setfuel 1; 
boat7 setfuel 1; 
boat8 setfuel 1; 

r1 move getPos boat1lz
r3 move getPos boat2lz
r5 move getPos boat3lz
r7 move getPos boat4lz
r9 move getPos boat5lz
r11 move getPos boat6lz
r13 move getPos boat7lz
r15 move getPos boat8lz

chopper setFuel 1
chopper flyInHeight 200
pilot1 setSpeedMode "FULL"
pilot1 move getPos chopper_wp

exit
